export default {
    computed: {
        buttons() {
            try {
                let routeName = this.$route.name;
                let buttons = this.$store.state.buttons[routeName];
                if (!buttons) {
                    buttons = {};
                }
                return buttons;
            } catch (e) {
                return {};
            }
        },
    },
};
